
import Snake from './Game';
import { Resources } from './Resources'

//加载资源启动游戏
(async () => {
    //加载资源
    await Resources.loaded();
    //启动游戏
    new Snake("canvas").run();
})()

